﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.StatusModel
{
    /// <summary>
    /// 预定表
    /// </summary>
    [Table("BookingModel")]
    public class BookingModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int ID { get; set; }
        /// <summary>
        /// 客源信息
        /// </summary>
        public int BookingTourists { get; set; }
        /// <summary>
        /// 订单来源
        /// </summary>
        public int BookingOrders { get; set; }
        /// <summary>
        /// 预定姓名
        /// </summary>
        public string BookingName { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string BookingPhone { get; set; }
        /// <summary>
        /// 预订单号
        /// </summary>
        public string?BookingNumber { get; set; }
        /// <summary>
        /// 入住日期
        /// </summary>
        public DateTime BookingBeginTime { get; set; }
        /// <summary>
        /// 离店日期
        /// </summary>
        public DateTime BookingEndTime { get; set; }
        /// <summary>
        /// 入住天数
        /// </summary>
        public int TimeNumber { get; set; }
        /// <summary>
        /// 商户备注
        /// </summary>
        public string BookingText { get; set; }
    }
}
